package events.settings
{
	import flash.events.Event;
	
	import models.vos.accounts.LocalAddress;
	
	import views.components.setting.SingleAddressInput;

	public class LocalAddressEvent extends Event
	{
		public static const REMOVE_ADDRESS_INPUT:String = "LocalAddressEvent_RemoveAddressInput";
		public static const DELETE_LOCAL_ADDRESS:String = "LocalAddressEvent_RemoveLocalAddress";
		public static const SET_AS_MAIN:String = "LocalAddressEvent_SetAsMain";
		
		public var addressInput:SingleAddressInput;
		public var localAddress:LocalAddress;
		public function LocalAddressEvent(type:String, localAddress:LocalAddress, addressInput:SingleAddressInput = null)
		{
			super(type, true, false);
			this.localAddress = localAddress;
			this.addressInput = addressInput;
		}
		
	}
}